package com.lwf.thymeleafdemo1.exception.dto;

/**
 * @Author liwenfeng
 * @Description dongruan
 * @Date 2023/08/11/9:48
 * @Version 1.0
 */
public class UserInfo {
    private String name;
    private int age;
    private String address;

    public UserInfo() {
    }

    public UserInfo(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    // Getters and setters for the class variables
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
}
